package com.wxapp.admin.service.mapper;

import com.wxapp.admin.api.pojo.entity.MenuDO;
import com.wxapp.admin.api.pojo.vm.menu.PMenuTreeVm;
import com.wxapp.admin.api.pojo.vo.menu.QMenuListVo;
import com.wxapp.common.constant.base.IBaseMapper;
import com.wxapp.common.constant.pojo.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lgl
 * @Description
 * @Datetime 2022/6/6 9:53
 * @Modified By
 */
@Mapper
public interface MenuMapper extends IBaseMapper<MenuDO> {
    List<PMenuTreeVm> getAllMenu(@Param("userVo") UserVo userVo, @Param("qMenuListVo") QMenuListVo qMenuListVo);

    List<String> getRoles(@Param("id") String id);
}
